//
//  KLUpdateViewModel.h
//  KoalaUtilKit
//
//  Created by Tommy on 15/1/16.
//  Copyright (c) 2015年 Koala Team. All rights reserved.
//

#import "KLViewModel.h"
#import "KLUpdateModel.h"
#import "KLIUpdateViewModel.h"


@interface KLUpdateViewModel : KLViewModel<KLIUpdateViewModel>

@property(nonatomic,strong)KLUpdateModel *model;

- (instancetype)initWithModel:(Class)modelCls service:(id<KLIUpdate>)update;

//send updateModel
- (RACCommand*)checkUpdateCmd;
- (RACSignal*) hasNewVersion;

- (KLUpdateModel*) updateModel;

@end
